﻿@model DLM.Domain.Model.Account
@using Webdiyer.WebControls.Mvc;
@using DLM.Infrastructure.Configuration;
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>登录页面</title>
    <link href="@Url.Content("~/Content/css/global.css")" rel="stylesheet" type="text/css" />
    <!--[if IE 6]><link href="../Content/css/global_ie6.css" rel="stylesheet" type="text/css" /><![endif]-->
    @*<link type="text/css" href="@Url.Content("~/Content/themes/custom/jquery-ui-1.8.18.custom.css")" rel="stylesheet" />*@
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")"></script>
    @*  <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui-1.8.18.custom.min.js")"></script>*@
    @*<script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")"></script>*@
    <!--[if lt IE 9]><script type="text/javascript" src="../scripts/ie9.js"></script><![endif]-->
    <!--[if IE 6]><script type="text/javascript" src="../scripts/pngfix.js"></script><![endif]-->
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
</head>
<body>
    <div id="top_bar">
        <div id="top_bar_content">
            <h1 id="logo" class="pngfix">
                <a href="@Url.Action("Index","Home")">都来米都市活动交友社区</a></h1>
        </div>
    </div>
    <div id="header">
        <div class="ad1">
            <div class="ad_custom">
                <a href="@Url.Action("Index","Home")">
                    @{string path = ApplicationSettingsFactory.GetApplicationSettings().AdvPath;}
                    <img src="@Url.Content("~/" + path)" alt="广告" /></a></div>
        </div>
        <!--<div class="menu"><ul class="first_ul"><li><a href="index.html">首页</a></li></ul></div>-->
        <div class="search_bar">
            @Html.Partial("_UserSearch")
        </div>
        <div class="bread">
            @Html.MvcSiteMap().SiteMapPath()</div>
    </div>
    <div id="content" class="clearfix">
        <div class="main register">
            <div class="main_tab_2">
                <div class="main_tab_2_up">
                    <ul>
                        <li class="current"><a href="#">登录</a></li>
                    </ul>
                </div>
                @using (Html.BeginForm())
                {
                      
                    <div class="main_tab_2_down">
                        <div class="box">
                            <br />
                            <div class="tr clearfix">
                                <label class="lb">
                                    <s></s>&nbsp;</label>
                                <div class="info">
                                    @Html.ValidationSummary(true, "登录失败，请查看错误信息并重试！")
                                </div>
                            </div>
                            <div class="tr clearfix">
                                <label class="lb">
                                    <s></s>用户名</label>
                                <div class="info">
                                    @Html.TextBoxFor(m => m.AccountName, new { @class = "text t_3", tabindex = "1" })
                                    @Html.ValidationMessageFor(m => m.AccountName, "", new { @class = "va error" })
                                </div>
                            </div>
                            <div class="tr clearfix">
                                <label class="lb">
                                    <s></s>登录密码</label>
                                <div class="info">
                                    @Html.PasswordFor(m => m.Password, new { @class = "text t_3", tabindex = "2" })
                                    @Html.ValidationMessageFor(m => m.Password, "", new { @class = "va error" })
                                </div>
                            </div>
                            <div class="tr clearfix">
                                <label class="lb">
                                    <s></s>请输入验证码</label>
                                <div class="info">
                                    <div>
                                        @Html.MvcCaptcha()
                                        <span id="captchaImage"></span>
                                        <br />
                                        <input type="text" name="_mvcCaptchaText" id="_mvcCaptchaText" tabindex="3"/>
                                        @*  @ReCaptcha.GetHtmlWithOptions("6LdYRtESAAAAADcIZ3q-Mtr90XPyaYq82gnet-n5", "6LdYRtESAAAAAInpSF9yl6Z2awmd8-hYgXfc7Rvg")*@
                                    </div>
                                </div>
                            </div>
                            <div class="tr clearfix btn">
                                <label class="lb">
                                    <s></s>&nbsp;</label>
                                <div class="info">
                                    <input type="submit" value="" class="login" tabindex="4" /><br />
                                    <a href="@Url.Action("Register", "Account")">还没有账号？立即注册</a><br />
                                      <a href="@Url.Action("RetrievePassword", "Account")">忘记密码？</a>
                                </div>
                            </div>
                        </div>
                        <div class="box" style="display: none;">
                            456</div>
                    </div>
                }
            </div>
        </div>
        <!--main-end-->
    </div>
     @Html.Action("Footer","Home")

</body>
</html>
